/**
 *
 * description:all config
 * create by mirko
 * 1061773869@qq.com
 *
 */

module.exports = {
    default: {
        port: 6003,
    },
    development: {
        rabbit_mq: {
            ip: '1.15.92.12',
            queue_name: '',
        },
        mongodb: {
            // host: "1.15.92.12",
            host: '127.0.0.1',
            port:"27817"
        },
        redis: {
            // host: '1.15.92.12',
            host: '127.0.0.1',
            port: 6379,
            session_ttl: 2 * 3600,
        },
        wechat_config: {
            appID: '',
            appSecret: '',
            whchat_webAuth_domain: '',
        },
    },
    production: {
        default: {
            port: 6003,
        },
        rabbit_mq: {
            ip: '81.68.194.107',
            queue_name: '',
        },
        mongodb: {
            host: "81.68.194.107"
        },
        redis: {
            host: '81.68.194.107',
            port: 6379,
            session_ttl: 2 * 3600,
        },
        wechat_config: {
            //小程序
            appID: '',
            appSecret: '',
            whchat_webAuth_domain: '',
        },
    },
    local: {},
};